Files in this directory:
========================

VCIRCLE.CNC	Variables, subroutines and conditional execution to mill a circle in segments.
DRILLING.CNC    Demonstrator for G81 drilling cycles.
PAWN.CNC    	Lathe turning with tapered cutting and tool changes.
PRSTST07.CNC    Parser expressions.
SHERLUBE.CNC    See below.

========================

These are sample g-code files included as demonstration and tutorial material.

Please note that you may have to tweak the feed rates to suit your specific hardware.

========================

SHERLUBE.CNC

Moves the axes to their programmed high end and stops to allow the
operator to grease the ways and leadscrews.  It then moves the axes to their low end where
there's an optional stop for more lubrication.  Finally it runs the axes back and forth a
few times to spread the grease.

Hint:  Make your code portable and reusable. You can use the same code to lubricate any
CNC machine in your shop.  Define a shop standard such that the use of certain persistent
variables is the same for all your CNC machines. For example these definitions for the
high, low, and stow positions are common to all machines, the values differ, but they mean
the same.

#900 - Low X
#901 - Low Y
#902 - Low Z
#903 - Low A
#904 - Low B
#905 - Low C
#906 - Low U
#907 - Low V
#908 - Low W
#909 - Low D
#910 - Low E

#'S 911 - 921 would be the high travel ends
#'S 922 - 932 would be the stow positions

re-write the program so that you have:
G00 X#900 Y#901 Z#902... E#910 ; include all possible axes!

TurboCNC will ignore those axes that are not defined for your system.  These values may be
useful for other programmed tasks as well.

You may want to write a program to initialize the variables for each machine of the same
make and model.
